From c925a840b2c3d9fcf4ecce6a5dd2878b3ee5c045 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 30 Oct 2015 01:16:49 -0400 Subject: [PATCH] HighContrast: Update color button styling Adapt to the previous commit. --- gtk/theme/HighContrast/_common.scss | 4 ++-- gtk/theme/HighContrast/gtk.css | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gtk/theme/HighContrast/_common.scss b/gtk/theme/HighContrast/_common.scss index 33a3883325..2b5aec17de 100644 --- a/gtk/theme/HighContrast/_common.scss +++ b/gtk/theme/HighContrast/_common.scss @@ -590,7 +590,7 @@ modelbutton.flat, &:insensitive { color: $insensitive_fg_color; } } -GtkColorButton.button { padding: 4px; } // Uniform padding on the +button.color { padding: 4px; } // Uniform padding on the // GtkColorButton.button /********* @@ -2382,7 +2382,7 @@ GtkColorSwatch { // we need to re-set the shadow here since it get axed by the previous bit &:selected { box-shadow: $_colorswatch_shadow; } - GtkColorButton > & { box-shadow: none; } + button.color > & { box-shadow: none; } // border rounding &.top { diff --git a/gtk/theme/HighContrast/gtk.css b/gtk/theme/HighContrast/gtk.css index 6c06a4b3ef..2784e1e84a 100644 --- a/gtk/theme/HighContrast/gtk.css +++ b/gtk/theme/HighContrast/gtk.css @@ -777,7 +777,7 @@ modelbutton.flat, .menuitem.button.flat:insensitive { color: gray; } -GtkColorButton.button { +button.color { padding: 4px; } /********* @@ -2592,7 +2592,7 @@ GtkColorSwatch { border-color: #fff; } GtkColorSwatch:selected { box-shadow: inset 0 1px rgba(0, 0, 0, 0.1), 0 1px #fff; } - GtkColorButton > GtkColorSwatch { + button.color > GtkColorSwatch { box-shadow: none; } GtkColorSwatch.top { border-top-left-radius: 5px; -- 2.30.2